import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import ConverterView from '../views/ConverterView.vue'
import TestView from '../views/TestView.vue'
import GraphQueryView from '../views/GraphQueryView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/converter',
      name: 'converter',
      component: ConverterView,
    },
    {
    path: '/test',
    name: 'test',
    component: TestView
  },
  {
    path: '/graph-query',
    name: 'graph-query',
    component: GraphQueryView
  }
  ],
})

export default router
